package com.football.spwntr;

/**
 * Created by thoughtworker on 1/16/14.
 */
public class Coach extends Participant {

    private String name;
    private int age;
    private String team;

    public Coach(String name, int age, String team) {
        this.name = name;
        this.age = age;
        this.team = team;
    }

    public String toString(){
        return name + String.format(", %d, ", age) + team;
    }

    public String getName() {
        return name;
    }
}
